function coupon(url){
  this.coupon_getlist = `${url}coupon/getlist`;//优惠券列表接口 GET
  this.coupon_coupontype = `${url}coupon/coupontype`;//优惠券类型列表接口 GET
  this.coupon_insert = `${url}coupon/insert`;//添加优惠券接口 POST
  this.coupon_info = `${url}coupon/info`;//优惠券详情接口 GET
  this.coupon_save = `${url}coupon/save`;//更新优惠券接口 POST
  this.coupon_sort = `${url}coupon/sort`;//修改优惠券排序接口 POST
  this.coupon_status = `${url}coupon/status`;//修改优惠券分类状态接口 POST
  this.coupon_getnopagelist = `${url}coupon/getnopagelist`;//优惠券列表(不分页)接口 GET
  this.coupon_user_getlist = `${url}coupon_user/getlist`;//优惠券领取记录列表接口 GET
}

export default coupon